from ebl_pattern_writer import point, shape, field, grid
mygrid=grid(120,4,4)
mygrid.writexmldom('domgrid')
print 'done'